package git.soulbgm.edu.piesat.pojo;

/**
 * 学习进度
 *
 * @author SoulBGM
 * @date 2021/03/31
 */
public class LearningProgress {

    private Integer id;
    private String url;
    private String knowledgeType;
    private Boolean state;
    private Long createTime;
    private Long updateTime;

    public LearningProgress() {
    }

    public LearningProgress(String knowledgeType) {
        this.knowledgeType = knowledgeType;
        this.state = false;
        this.createTime = System.currentTimeMillis();
        this.updateTime = System.currentTimeMillis();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getKnowledgeType() {
        return knowledgeType;
    }

    public void setKnowledgeType(String knowledgeType) {
        this.knowledgeType = knowledgeType;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
